package com.obas.business.topo.event
{
	import mx.collections.ArrayCollection;
	import com.ease.common.vo.Ordering;
	import com.ease.common.vo.Pagination;
	import com.ease.framework.CommandCompletionEvent;
	import flash.events.Event;

	[Response(name="{RETURN_ID}", type="com.ease.framework.CommandCompletionEvent")]
	public class TopoVisualizationEvent extends Event
	{

		public static const REQUEST_ID:String="TopoVisualizationEvent_Request";

		public static const RETURN_ID:String="TopoVisualizationEvent_Return";
		
		public static const OPERATION_VIEW_NETWORK_TOPOLOGY:String="OPERATION_VIEW_NETWORK_TOPOLOGY";
		public static const OPERATION_VIEW_USER_ROUTE:String="OPERATION_VIEW_USER_ROUTE";

		private var _accountId:Number;
		private var _deviceId:Number;
		private var _actionType:String;

		private var _pagination:Pagination;

		private var _ordering:Ordering;

		public function TopoVisualizationEvent(actionType:String=OPERATION_VIEW_NETWORK_TOPOLOGY, type:String=REQUEST_ID)
		{
			super(type, true, true);
			_actionType=actionType;
		}





		public function get deviceId():Number
		{
			return _deviceId;
		}

		public function set deviceId(value:Number):void
		{
			_deviceId = value;
		}

		public function get accountId():Number
		{
			return _accountId;
		}

		public function set accountId(value:Number):void
		{
			_accountId = value;
		}

		public function get pagination():Pagination
		{
			return _pagination;
		}

		public function set pagination(value:Pagination):void
		{
			_pagination=value;
		}

		public function get ordering():Ordering
		{
			return _ordering;
		}

		public function set ordering(value:Ordering):void
		{
			_ordering=value;
		}

		public override function clone():Event
		{
			var event:TopoVisualizationEvent=new TopoVisualizationEvent(actionType, type);
			event.pagination=pagination;
			event.ordering=ordering;
			event.accountId =accountId;
			event.deviceId =deviceId;
			return event;
		}

		public function get actionType():String
		{
			return _actionType;
		}

	}
}